﻿using Health.Domain;
using Microsoft.EntityFrameworkCore;

namespace Health.Infrastructure
{
    /// <summary>
    /// 上下文
    /// </summary>
    public class MyDbContext : DbContext
    {
        public MyDbContext(DbContextOptions options) : base(options)
        {
        }
        /// <summary>
        /// 栏目
        /// </summary>
        public DbSet<Column> Columns { get; set; }
        /// <summary>
        /// 医生
        /// </summary>
        public DbSet<Doctor> Doctors { get; set; }
        /// <summary>
        /// 价目
        /// </summary>
        public DbSet<Pricelist> Pricelists{ get; set; }
        /// <summary>
        /// 就业指南
        /// </summary>
        public DbSet<MedicalGuide> MedicalGuides{ get; set; }
    }
}